TArray.LastIndexOf<T>(T[],T,Integer,Integer,IEqualityComparer) Method

Searches for the specified element and returns the index of the last occurrence within the range of elements in the array that starts at the specified index and contains the specified number of elements using the specified equality comparer.

Namespace: Spring
public
 class function LastIndexOf<T>(const values: array of T; const item: T;
 index, count: Integer;
 const comparer: IEqualityComparer<T>): Integer; overload; static;

Type Parameters

T

Parameters

values
Type: array of T

item
Type: T

index
Type: Integer

count
Type: Integer

comparer
Type: IEqualityComparer<T>

Return Value

Type: Integer